Skip to content

Bugfix/FOUR-9301: Error server displayed after import a translation#4995

Merged
ryancooley merged 3 commits into
developfrom
bugfix/FOUR-9301
Jul 14, 2023
Merged

Bugfix/FOUR-9301: Error server displayed after import a translation#4995
ryancooley merged 3 commits into
developfrom
bugfix/FOUR-9301

Conversation

@agustinbusso
Copy link
Copy Markdown
Contributor

@agustinbusso agustinbusso commented Jul 13, 2023

Issue & Reproduction Steps

Steps to reproduce:

  • Login as admin
  • Import a process
  • Go to Configure > Translations
  • Create a translation
  • Export the translation
  • Delete the translation
  • Import the translation

Current behavior:
After completing the translation a Server Error message is displayed, the list of translations is not displayed and when trying to create a new translation, the dropdown with the languages does not display

Expected behavior:
The translation should be imported with no issues

Solution

  • When no translations in the DB, the fields created_at and updated_at for the translation doesn't exists. Added the fields created_at and updated_at when importing into an empty translations column.

How to Test

  • Follow steps above

Related Tickets & Packages

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

ci:deploy

.

@tokensPM
Copy link
Copy Markdown

QA server was successfully deployed https://ci-2b3837ce00.eng.processmaker.net

@processmaker-sonarqube
Copy link
Copy Markdown

@tokensPM
Copy link
Copy Markdown

QA server was successfully deployed https://ci-2b3837ce00.eng.processmaker.net

@ryancooley ryancooley merged commit 4693507 into develop Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants